package com.tanhua.dubbo.api;

import com.tan.model.domain.User;
import com.tan.model.vo.HuanXinUserVo;


public interface Userapi {
    // 根据手机号查询用户
    User findByMobile(String mobile);

    User save(User user);

    void changePhone(String phone, Long userId);

    void updateHxUser(String hxuser, Long id,String hxpassword);

   HuanXinUserVo searchUser(Long userId);

    User searchUserInfo(String huanxinUserId);

    User findById(Long valueOf);

    void update(User user);
}
